<!DOCTYPE html>
<html>
<head>
    <title>Markdown Viewer</title>
    <link rel="stylesheet" href="qrc:///resources/github-markdown.min.css">
    <script src="qrc:///resources/marked.min.js"></script>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        .markdown-body {
            box-sizing: border-box;
            min-width: 200px;
            max-width: 980px;
            margin: 0 auto;
            padding: 45px;
        }

        @media (max-width: 767px) {
            .markdown-body {
                padding: 15px;
            }
        }
    </style>
</head>
<body>
    <div id="markdown-content" class="markdown-body"></div>
    <script>
        function renderMarkdown(markdown) {
            document.getElementById("markdown-content").innerHTML = marked.parse(markdown);
        }
    </script>
</body>
</html>